// import { combineReducers } from 'redux'
import { combineReducers } from 'redux-immutable'

import { reducer as cookbook } from '../home/cookbook/'
import { reducer as home } from '../home/'
import { reducer as category } from '../home/category/'

// 多个reducer合并在一起
const reducer = combineReducers({
  cookbook,
  home,
  category
})

export default reducer
